package com.sg.dto.biz.bff.common;


import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Objects;

/**
 * @desc BffStaffBeginMemberDto
 * @使用场景
 */
@Data
public class BffStaffBeginMemberDto implements Serializable {

    /**
     * 身份人员ID:
     */
    @ApiModelProperty("身份人员ID")
    private String originalRoleMemberId;

    /**
     * 账号ID:
     */
    @ApiModelProperty("账号ID")
    private String userId;

    /**
     * 真实头像:
     */
    @ApiModelProperty("真实头像")
    private String userFace;

    /**
     * 真实姓名:
     */
    @ApiModelProperty("真实姓名")
    private String idCardName;

    /**
     * 用户昵称:
     */
    @ApiModelProperty("用户昵称")
    private String nickName;

    /**
     * 身份人员编号:
     */
    @ApiModelProperty("身份人员编号")
    private String roleMemberCode;

    /**
     * 备注首位字母:
     */
    @ApiModelProperty("备注首位字母")
    private String firstLetter;
    /**
     * 职务信息展示:
     */
    @ApiModelProperty("职务信息展示")
    private String positionIdName;
    /**
     * 是否兼职:
     */
    @ApiModelProperty("是否兼职")
    private String isPtJob;

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        if (!super.equals(o)) return false;
        BffStaffBeginMemberDto that = (BffStaffBeginMemberDto) o;
        return originalRoleMemberId == that.originalRoleMemberId && userId == that.userId && userFace == that.userFace && idCardName == that.idCardName && nickName == that.nickName && roleMemberCode == that.roleMemberCode && firstLetter == that.firstLetter && positionIdName == that.positionIdName && isPtJob == that.isPtJob;
    }

    @Override
    public int hashCode() {
        return Objects.hash(super.hashCode(), originalRoleMemberId, userId, userFace, idCardName, nickName, roleMemberCode, firstLetter, positionIdName, isPtJob);
    }
    // Generated by moon;
}
